package com.shardingsphere.examples.service.impl;

import com.shardingsphere.examples.entity.Company;
import com.shardingsphere.examples.entity.User;
import com.shardingsphere.examples.mapper.CompanyMapper;
import com.shardingsphere.examples.mapper.UserMapper;
import com.shardingsphere.examples.service.CompanyService;
import com.shardingsphere.examples.service.UserService;
import com.shardingsphere.examples.util.SnowflakeIdWorker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CompanyServiceImpl implements CompanyService {

    @Autowired
    private CompanyMapper companyMapper;


    @Override
    public void save(Company company) {
        companyMapper.save(company);
    }
}
